package cn.agiledata.security.db.bean;


import cn.agiledata.bank.hibernateBean.AccountBalance;

public class AcctBalEnctBean extends EnctBean {
	/**
	 * 把需要加密的字段存放在List中
	 * @param ab
	 */
	public AcctBalEnctBean(AccountBalance ab) {
		addNeedEnctList(ab.getId().toString());
		addNeedEnctList(ab.getBalance().toString()); //金额
		addNeedEnctList(ab.getLockAmount());	//冻结金额
		addNeedEnctList(ab.getAccumulation());	//积数
		addNeedEnctList(ab.getBankrollUpdateTime());	//资金变化时间	
	}
}
